package com.hua.springCloud.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

@Mapper
public interface AccountMapper {

/**
     * 扣减账户余额
*/
void reduceMoney(@Param("userId") Long userId, @Param("money") BigDecimal money);
}


